/**
 * Copyright (c) 2012 Nokia Corporation. 
 */

package com.nokia.example.tictactoe.engine;

public interface IGameModelListener {
	void onGameModelChanged();
	void onWhoseTurnChanged(int whoseTurn);
	
	/** 
	 * @param winner Mark of the winner (MARK_X or MARK_O) or MARK_EMPTY if it
	 * 				 is a tie.
	 */
	void onGameOver(int winner);
	
	/**
	 * This is called e.g. in case where the grid size of the model has been
	 * changed.
	 */
	void onGameSpecificationsChanged();
}
